#include "pattern_node.h"
#include <iostream>
#include <vector>

using namespace std;
Pattern_node::Pattern_node(){
	_left = -1;
	_right = -1;
	_data = "";
}
Pattern_node::Pattern_node(int left,int right,string data){
	_left = left;
	_right = right;
	_data = data;
}
void Pattern_node::setLeft(int left){
	_left = left;
}
void Pattern_node::setRight(int right){
	_right = right;
}
void Pattern_node::setData(string data){
	_data = data;
}
int Pattern_node::getLeft(){
	return _left;
}
int Pattern_node::getRight(){
	return _right;
}
string Pattern_node::getData(){
	return _data;
}
